<form method="post" action="<?php echo Url::generate($this->context->uri['module'], 'Do' . $this->context->uri['action']) ?>">
<fieldset>
<legend>账户信息</legend>
  <div>
  	<label>用户名</label>
  	<?php echo $this->user["username"] ?>
  </div>
  <div>
  	<label>邮件</label>
  	<?php echo $this->user["email"] ?>
  </div>
  <div>
  	<label>密码</label>
  	<input name="password" type="text" /><span class="tips">（如果不改密码，请留空）</span>
  </div>
  <div>
  	<label>账户状态</label>
    <input name="disabled" type="radio" value="1" <?php echo 1 == $this->user['disabled'] ? 'checked="checked"' : '' ?> />禁用
    <input name="disabled" type="radio" value="0" <?php echo 0 == $this->user['disabled'] ? 'checked="checked"' : '' ?> />启用
  </div>
</fieldset>
<fieldset>
<legend>个人资料</legend>
<?php 
foreach ($this->user["attr"] as $attrConf)
{
    FormItemRender::render($attrConf);
}
?>
</fieldset>
  <div>
  	<label></label>
  	<input type="submit" class="submit" value="保存" />
  </div>
  <input name="id" type="hidden" value="<?php echo $this->user['id'] ?>" />
</form>